-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(gateway-optional): This commit makes gw definition optional for additionalNetworkDevices #130
feat(gateway-optional): This commit makes gw definition optional for additionalNetworkDevices #130
Conversation
…additionalNetworkDevices There is no need to have a mandatory gateway for secondary network interfaces, this commit edits the validation and go template that is in charge of generating the cloudinit files.
thank you, i will check this |
Can you share the yaml you used for testing? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I merged the main branch into my feature to check any possible new issues, probably we need to re-approve workflow 😊 |
Hi! Sorry for the delay, you can find below the manifests used - I will provide only the relative manifest and not the whole cluster definition ---
apiVersion: ipam.cluster.x-k8s.io/v1alpha2
kind: GlobalInClusterIPPool
metadata:
name: ippool
spec:
addresses:
- 10.10.10.4-10.10.10.254
prefix: 24
---
kind: ProxmoxMachineTemplate
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
metadata:
name: "workers"
spec:
template:
spec:
sourceNode: "source-node"
templateID: 1001
format: "qcow2"
full: true
numSockets: 1
numCores: 4
memoryMiB: 4096
disks:
bootVolume:
disk: virtio0
sizeGb: 100
network:
default:
bridge: vmbr0
additionalDevices:
- bridge: vmbr0
name: net1
ipv4PoolRef:
apiGroup: ipam.cluster.x-k8s.io
kind: GlobalInClusterIPPool
name: ippool |
Quality Gate passedIssues Measures |
Description of changes:
There is no need to have a mandatory gateway for secondary network interfaces, this commit edits the validation and go template that is in charge of generating the cloudinit files.
Testing performed:
Bootstrapped two machines:
Both machine got provisioned